<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>

<form action="{{route('t9')}}" method="post" enctype="multipart/form-data">
    用户名: <input type="text" name="name" id="" value="" placeholder=""> <br>
    年龄: <input type="text" name="age" id="" value="" placeholder=""> <br>
    邮箱: <input type="text" name="email" id="" value="" placeholder=""> <br>
    头像： <input type="file" name="touxiang" id="">
    {{csrf_field()}}
    <input type="submit" value="提交">
</form>

@if(count($errors) >0)
    <div class="arert alert-danger">
        <ul>
            @foreach($errors->all() as $error)
                <li>{{$error}}</li>
            @endforeach
        </ul>
    </div>
@endif


</body>
</html>